﻿using ILN.MVC.Datetimepicker.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ILN.MVC.Datetimepicker.Controllers
{
    public class DatetimepickerController : Controller
    {
        // GET: Datetimepicker
        public ActionResult Demo()
        {
            var view = new DatetimepickerViewModel
            {
                Date = DateTime.Today,
                DateTime = DateTime.Now.AddDays(30),
                DateTimeNull = null
            };

            return View(view);
        }
    }
}